package com.zb.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Author WEN
 * @Date 2023/8/10 0010
 **/
@Data
@ApiModel("用户列表对象")
public class UserListVo {
    @ApiModelProperty(value = "用户ID")
    private Long id;

    @ApiModelProperty(value = "账号")
    private String account;

    @ApiModelProperty(value = "账号名称")
    private String accountName;

    @ApiModelProperty(value = "用户编码")
    private String code;

    @ApiModelProperty(value = "用户昵称")
    private String nickname;

    @ApiModelProperty(value = "账号状态：0-正常，1-冻结，2-禁用")
    private Integer status;

    @ApiModelProperty(value = "最后登录时间")
    private Date lastLoginTime;

    @ApiModelProperty(value = "用户头像路径")
    private String avator;

    @ApiModelProperty(value = "客户等级")
    private String level;

    @ApiModelProperty(value = "用户分类名称")
    private String userType;

    @ApiModelProperty(value = "是否根据权限查看知识库：false-查看所有，true-根据权限查看")
    private Boolean selectKnowledgeAuthor;

    @ApiModelProperty(value = "注册时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "用户名称")
    private String username;

    @ApiModelProperty(value = "用户手机号")
    private String phone;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "地址-省")
    private String province;

    @ApiModelProperty(value = "地址-市")
    private String city;

    @ApiModelProperty(value = "地址-县/区")
    private String area;

    @ApiModelProperty(value = "地址-镇")
    private String town;

    @ApiModelProperty(value = "地址-详细地址")
    private String address;

    @ApiModelProperty(value = "工单数量")
    private int orderNo;

    @ApiModelProperty(value = "产品数量")
    private int productNo;

    @ApiModelProperty(value = "关联商家")
    private List<String> factoryList;

    @ApiModelProperty(value = "是否绑定微信，false-未绑定，true-已绑定")
    private Boolean bindingWechat = Boolean.FALSE;
}
